package cn.lzy.demo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description
 * @Author lzy
 * @Date 2024/2/5 19:41
 * @Version
 **/
@Configuration
public class JavaConfig {

    @Bean({"u1", "u2", "u3"})
    public User user() {
        return new User();
    }
}
